//
//  FirendsTableViewCell.h
//  BaiTengIM
//
//  Created by awh on 2019/7/10.
//  Copyright © 2019年 陈传真. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "ContactModel.h"
#import "NewFriendModel.h"
#import "BTMessageModel.h"
#import "TextMessageModel.h"
#import "PublicModel.h"
//#import "GroupAvatarImage.h"
@class LJPerson,FirendsTableViewCell;
@protocol FirendsTableViewCellDelegate <NSObject>

-(void)FirendsTableViewCellWithClickSelecdCell:(FirendsTableViewCell*_Nonnull)cell;
//-(void)FirendsTableViewCellWithClickSelecdCellWithIndexSection:(NSInteger)IndeSection IndexRow:(NSInteger)IndexRow Button:(UIButton*)button;

@end
NS_ASSUME_NONNULL_BEGIN

typedef void (^didSelecdComplete)(NSInteger  SelecdIndexRow);

@interface FirendsTableViewCell : UITableViewCell
@property(nonatomic,assign)NSInteger index_row;
@property(nonatomic,assign)NSInteger index_section;

@property(nonatomic,strong)UILabel * userName;
@property(nonatomic,strong)UIImageView*userAvatar;
//@property(nonatomic,strong)GroupAvatarImage * groupAvatar;
@property (nonatomic, strong) ContactModel *model;
@property (nonatomic, strong) NewFriendModel * friendModel;
/*搜索群的时候*/
@property (nonatomic, strong) ContactModel *GroupModel;
@property (nonatomic, strong) ContactModel *serachGroupModel;
/*搜索本地群 本地好友 */
@property (nonatomic, strong) ContactModel *serachLocalDataModel;
@property (nonatomic,strong) BTMessageModel * messageModel;
@property (nonatomic,strong) PublicModel * pubModel;
@property(nonatomic,strong)UILabel * nicknameLbl;
@property(nonatomic,strong)UIButton * invitationBtn;
@property(nonatomic,strong)UIView * liveV;
@property(nonatomic,strong)UILabel * contentLbl;

@property (nonatomic, strong) LJPerson *mobileModel;
@property(nonatomic,copy)didSelecdComplete selecdBlock;
@property(nonatomic,copy)NSString * cellType;
@property(nonatomic,weak) id<FirendsTableViewCellDelegate> delegate;

@property(nonatomic,assign) NSInteger groupMerrDelete;//表示删除群成员


@end

NS_ASSUME_NONNULL_END
